/*
 * Copyright 2016-2016 the original author or authors.
 * Created on 2016/12/26 下午8:33
 */
package cn.com.geasy.service;

import cn.com.geasy.base.BaseServiceImpl;
import cn.com.geasy.dao.system.AccountRepository;
import cn.com.geasy.entity.system.SysAccount;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 请在此写下该类的说明
 *
 * @author Mechanic
 * @version 1.0
 */
@Service
public class AccountServiceImpl extends BaseServiceImpl<SysAccount, String> implements AccountService {

    @Autowired
    private AccountRepository accountRepository;

    @Override
    public SysAccount findByAccount(String account) {
        return accountRepository.findByAccount(account);
    }
}
